import unittest
from main.练习.lianxi12.Tools.Tools import Tools
from main.练习.lianxi12.Case.Case import Case
# suite=unittest.defaultTestLoader.discover(start_dir='./',pattern='Case.py')
# runner=unittest.TextTestRunner().run(suite)

# suite2=unittest.TestSuite()
# suite2.addTest(Case('test_01_baidu'))
# runner=unittest.TextTestRunner().run(suite2)

suite3=unittest.TestLoader().loadTestsFromTestCase(Case)
runner=unittest.TextTestRunner().run(suite3)
Tools().baogao(runner)
Tools().send_email(['must.log','mucic.html'])